/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package enteties.article;

import java.util.Collection;
import java.util.List;
import javax.ejb.Local;
import util.article.EancodeDetails;

/**
 *
 * @author Joris
 */
@Local
public interface EancodeFacadeLocal {

    void create(Eancode eancode);

    void edit(Eancode eancode);

    void remove(Eancode eancode);

    Eancode find(Object id);

    List<Eancode> findAll();

    List<Eancode> findRange(int[] range);

    int count();

    public Eancode createEancode(EancodeDetails ed, Article a, Model m, Size1 s);

    public EancodeDetails convert(Eancode ean);

    public Collection<EancodeDetails> convert(Collection<Eancode> eancodes);
    
}
